package eda.hashTable;

/**
 * 
 * Classe criada para auxiliar na construcao da tabela hash
 * @param <K>
 * @param <V>
 */

public class HashTableElement<K, V> {
	
	protected K key;
	protected V value;

	public HashTableElement(K key, V value){
		this.key = key;
		this.value = value;
	}
	
	public K getKey(){
		return this.key;
	}
	
	public V getValue(){
		return this.value;
	}
	
	@Override
	public String toString(){
		return "("+key.toString()+":"+value.toString()+")";
	}
	
}
